package org.zfes.snowier.cloud.zbss.cms.model.service;

import java.util.List;
import java.util.Map;
import java.util.Optional;
import org.zfes.snowier.core.data.DataSet;
import org.zfes.snowier.cloud.zbss.cms.model.model.CmsModelItem;
public interface ICmsModelItemService{

	 Optional<CmsModelItem> loadCmsModelItemById(Long id);
	
	 void createCmsModelItem(CmsModelItem cmsModelItem);
	 
	 void createCmsModelItemBatch(List<CmsModelItem> cmsModelItemList,Long modelId); 
	
	 void updateCmsModelItem(CmsModelItem cmsModelItem);

	 void deleteCmsModelItem(Long id);
	
	 DataSet loadCmsModelItemDataSet(Map<String, Object> params);
	 

 	void setCmsModelItemStatus(Long id, Byte status);
 	
 	
 	 List<CmsModelItem> loadCmsItemsByModelId(Long modelId);
}